<%--
  Created by IntelliJ IDEA.
  User: 22541
  Date: 2022/4/6
  Time: 16:39
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<html>
<head>
    <title>登录成功</title>
</head>
<body>

<h4 align="center">登录成功！姓名为${user.username}的同学，欢迎你！5s后跳转到课程页面</h4>

<script>
    let t = 5;
    function f() {
        t--;
        if(t === 0)
        {
            window.location.href = "CourseController?operation=hitC";
            return;
        }
        setTimeout("f()", 1000);
    }
    f();
</script>
</body>
</html>
